Previous Book Contents Book Index Next

Inside Macintosh: 3D Graphics Programming With QuickDraw 3D /
Chapter 20 - QuickDraw 3D Mathematical Utilities / QuickDraw 3D Mathematical Utilities Reference
QuickDraw 3D Mathematical Utilities / Managing Quaternions


Q3Point3D_TransformQuaternion

You can use the Q3Point3D_TransformQuaternion function to transform a point by a quaternion.

TQ3Point3D *Q3Point3D_TransformQuaternion (
const TQ3Point3D *point, 
const TQ3Quaternion *quaternion, 
TQ3Point3D *result);
point
A three-dimensional point.
quaternion
A quaternion.
result
On exit, a three-dimensional point that is the result of transforming the specified point by the specified quaternion.
DESCRIPTION
The Q3Point3D_TransformQuaternion function returns, as its function result and in the result parameter, a three-dimensional point that is the result of transforming the point specified by the point parameter using the quaternion specified by the quaternion parameter.


Previous Book Contents Book Index Next

© Apple Computer, Inc.
11 JUL 1996